package by.imotaeva.printing_services.services;

import javax.transaction.Transactional;

import by.imotaeva.printing_services.datamodel.UserAccount;

public interface UserAccountService {

	UserAccount getUser(Long id);

	@Transactional
	void saveNewUser(UserAccount userAccount);

	@Transactional
	void updateUser(UserAccount userAccount);

	@Transactional
	void removeUser(UserAccount userAccount);

	@Transactional
	void deleteAll();
}
